﻿@model ContactViewModel

@{
    ViewBag.Title = @Strings.Contact;
}

@using (Html.BeginForm())
{                
    <fieldset class="shaded">
        <legend>@Strings.Contact</legend>
        @Html.ValidationSummary(true)
        <div class="editor-label">
            <label for="FullName">@Strings.Name</label>
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.FullName, new { size = 40 })
            @Html.ValidationMessageFor(model => model.FullName)
        </div>
        <div class="editor-label">
            <label for="Email">@Strings.Email</label>
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.Email, new { size = 40 })
            @Html.ValidationMessageFor(model => model.Email)
        </div>
        <div class="editor-label">
            <label for="Subject">@Strings.Subject</label>
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.Subject, new { size = 40 })
            @Html.ValidationMessageFor(model => model.Subject)
        </div>
        <div class="editor-label">
            <label for="Message">@Strings.Message</label>
        </div>
        <div class="editor-field">
            @Html.TextAreaFor(model => model.Message, new { rows = 10, cols = 50 })
            @Html.ValidationMessageFor(model => model.Message)
        </div>
        <div id="buttons">
            <input type="submit" value="@Strings.Submit" />
            @Html.CancelButton("Index", "Post")
        </div>
    </fieldset>
}
